/**
 * @file restart_and_reset.h
 *
 */
#ifndef RESTART_AND_RESET_H
#define RESTART_AND_RESET_H

#ifdef __cplusplus
extern "C" {
#endif

/*********************
 *      INCLUDES
 *********************/

#if USE_LV_WATCH_RESTART_AND_RESET != 0

/*********************
 *      DEFINES
 *********************/

/**********************
 *      TYPEDEFS
 **********************/

/**********************
 * GLOBAL PROTOTYPES
 **********************/

/**
 * Create restart_and_reset application
 */
lv_obj_t * restart_and_reset_create(lv_obj_t * activity_obj);
void restart_and_reset_create_btn_action(lv_obj_t * btn, lv_event_t event);
lv_obj_t * restart_create(lv_obj_t * activity_obj);
void restart_btn_action(lv_obj_t * btn, lv_event_t event);
void reset_btn_action(lv_obj_t * btn, lv_event_t event);
void restart_and_reset_prepare_destory(lv_obj_t * activity_obj);
void restart_prepare_destory(lv_obj_t * activity_obj);
void restart_yes_btn_action(lv_obj_t * btn, lv_event_t event);
void restart_no_btn_action(lv_obj_t * btn, lv_event_t event);
uint8_t play_anim_power_off(void);

/**********************
 *      MACROS
 **********************/

#endif /*USE_LV_WATCH_RESTART_AND_RESET*/

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif /*RESTART_AND_RESET_H*/
